#pragma once

#include "CmTreeData.h"
#include "MyTreeCtrl.h"
// CCmTreeCtrl

class CCmTreeCtrl : public CMyTreeCtrl
{
	DECLARE_DYNAMIC(CCmTreeCtrl)

public:
	CCmTreeCtrl();
	virtual ~CCmTreeCtrl();

	void FillTreeNodeData(HTREEITEM pParent, IpmiCmdItem* pParamItem[], int nCount, int& i, IpmiCmdItem* pParentParamItem);
	void FillTreeNodeData(CCmTreeData& testCase);
	
	void OnContextMenu(CPoint point);
	void OnChecked(HTREEITEM hItem);
protected:
	DECLARE_MESSAGE_MAP()
};


